<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CConstStringT&lt; T &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_c_const_string_t-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CConstStringT&lt; T &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>字符串类-const限定符 只接受源字符串指针和大小，内部不参与管理内存  
 <a href="class_c_const_string_t.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_____const_string_8h_source.html">__ConstString.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aa2dca626527a5d5d4be6e652ec5f997e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a></td></tr>
<tr class="separator:aa2dca626527a5d5d4be6e652ec5f997e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3d9da935871b6c631b798cf121e2a2e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a3d9da935871b6c631b798cf121e2a2e0">begin</a> () const</td></tr>
<tr class="memdesc:a3d9da935871b6c631b798cf121e2a2e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回字符串首位置  <a href="class_c_const_string_t.html#a3d9da935871b6c631b798cf121e2a2e0">更多...</a><br /></td></tr>
<tr class="separator:a3d9da935871b6c631b798cf121e2a2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03f324d2e3a86a3e6a95213b6e1f203b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a> () const</td></tr>
<tr class="memdesc:a03f324d2e3a86a3e6a95213b6e1f203b"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回字符串结束位置  <a href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">更多...</a><br /></td></tr>
<tr class="separator:a03f324d2e3a86a3e6a95213b6e1f203b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad39513ac39e33712db67708dc2894080"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">size</a> () const</td></tr>
<tr class="memdesc:ad39513ac39e33712db67708dc2894080"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回字符串的长度  <a href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">更多...</a><br /></td></tr>
<tr class="separator:ad39513ac39e33712db67708dc2894080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae871a629514c0396b93b15a00ac380a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">refrence</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#aae871a629514c0396b93b15a00ac380a">operator[]</a> (size_t pos) const</td></tr>
<tr class="memdesc:aae871a629514c0396b93b15a00ac380a"><td class="mdescLeft">&#160;</td><td class="mdescRight">访问下标为pos的内容  <a href="class_c_const_string_t.html#aae871a629514c0396b93b15a00ac380a">更多...</a><br /></td></tr>
<tr class="separator:aae871a629514c0396b93b15a00ac380a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee333b90e221fe8db248a06509f720b"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a6ee333b90e221fe8db248a06509f720b">at</a> (size_t pos) const</td></tr>
<tr class="memdesc:a6ee333b90e221fe8db248a06509f720b"><td class="mdescLeft">&#160;</td><td class="mdescRight">访问下标为pos的内容,如果越界则会抛掷异常，使用out_of_range可进行捕获  <a href="class_c_const_string_t.html#a6ee333b90e221fe8db248a06509f720b">更多...</a><br /></td></tr>
<tr class="separator:a6ee333b90e221fe8db248a06509f720b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">构造函数</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>设置源字符串指针 </p>
</div></td></tr>
<tr class="memitem:a1f1cb3133382f9ed6a7ba329816074c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a1f1cb3133382f9ed6a7ba329816074c8">CConstStringT</a> (<a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> src, size_t <a class="el" href="class_c_const_string_t.html#ad39513ac39e33712db67708dc2894080">size</a>)</td></tr>
<tr class="separator:a1f1cb3133382f9ed6a7ba329816074c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ed9ef03c80221c5eaa491830c482915"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a7ed9ef03c80221c5eaa491830c482915">CConstStringT</a> (<a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> beg, <a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="el" href="class_c_const_string_t.html#a03f324d2e3a86a3e6a95213b6e1f203b">end</a>)</td></tr>
<tr class="separator:a7ed9ef03c80221c5eaa491830c482915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e604da5afc75038d0de49d4e1cc2c06"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a6e604da5afc75038d0de49d4e1cc2c06">CConstStringT</a> (<a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> str)</td></tr>
<tr class="separator:a6e604da5afc75038d0de49d4e1cc2c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80328b2306d21960d8732217df6f26d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a80328b2306d21960d8732217df6f26d7">CConstStringT</a> ()</td></tr>
<tr class="separator:a80328b2306d21960d8732217df6f26d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:ab80d756bcc5bc9f3868550646a6b3268"><td class="memItemLeft" align="right" valign="top">const typedef T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a></td></tr>
<tr class="separator:ab80d756bcc5bc9f3868550646a6b3268"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb16af3ea2ee891ade74ee41c2c6f168"><td class="memItemLeft" align="right" valign="top">const typedef T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">refrence</a></td></tr>
<tr class="separator:aeb16af3ea2ee891ade74ee41c2c6f168"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:ac1730bac5bfff4bf1b2bdf2f14e9b939"><td class="memItemLeft" align="right" valign="top">static size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#ac1730bac5bfff4bf1b2bdf2f14e9b939">npos</a> = -1</td></tr>
<tr class="separator:ac1730bac5bfff4bf1b2bdf2f14e9b939"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ae1c7aef08cf080da9bd2b95d21f8a046"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#ae1c7aef08cf080da9bd2b95d21f8a046">_data</a></td></tr>
<tr class="separator:ae1c7aef08cf080da9bd2b95d21f8a046"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ad8922956858aed64245e382a42290"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_const_string_t.html#a14ad8922956858aed64245e382a42290">_size</a></td></tr>
<tr class="separator:a14ad8922956858aed64245e382a42290"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br />
class CConstStringT&lt; T &gt;</h3>

<p>字符串类-const限定符 只接受源字符串指针和大小，内部不参与管理内存 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00014">14</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="aa2dca626527a5d5d4be6e652ec5f997e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2dca626527a5d5d4be6e652ec5f997e">&#9670;&nbsp;</a></span>iterator</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::<a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00018">18</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a1f1cb3133382f9ed6a7ba329816074c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f1cb3133382f9ed6a7ba329816074c8">&#9670;&nbsp;</a></span>CConstStringT() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::<a class="el" href="class_c_const_string_t.html">CConstStringT</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00027">27</a> 行定义.</p>

</div>
</div>
<a id="a7ed9ef03c80221c5eaa491830c482915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ed9ef03c80221c5eaa491830c482915">&#9670;&nbsp;</a></span>CConstStringT() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::<a class="el" href="class_c_const_string_t.html">CConstStringT</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td>
          <td class="paramname"><em>beg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<a id="a6e604da5afc75038d0de49d4e1cc2c06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e604da5afc75038d0de49d4e1cc2c06">&#9670;&nbsp;</a></span>CConstStringT() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::<a class="el" href="class_c_const_string_t.html">CConstStringT</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a>&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<a id="a80328b2306d21960d8732217df6f26d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80328b2306d21960d8732217df6f26d7">&#9670;&nbsp;</a></span>CConstStringT() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::<a class="el" href="class_c_const_string_t.html">CConstStringT</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00049">49</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a6ee333b90e221fe8db248a06509f720b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ee333b90e221fe8db248a06509f720b">&#9670;&nbsp;</a></span>at()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::at </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>访问下标为pos的内容,如果越界则会抛掷异常，使用out_of_range可进行捕获 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00069">69</a> 行定义.</p>

</div>
</div>
<a id="a3d9da935871b6c631b798cf121e2a2e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d9da935871b6c631b798cf121e2a2e0">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a> <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回字符串首位置 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00054">54</a> 行定义.</p>

</div>
</div>
<a id="a03f324d2e3a86a3e6a95213b6e1f203b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03f324d2e3a86a3e6a95213b6e1f203b">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html#aa2dca626527a5d5d4be6e652ec5f997e">iterator</a> <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回字符串结束位置 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<a id="aae871a629514c0396b93b15a00ac380a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae871a629514c0396b93b15a00ac380a">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html#aeb16af3ea2ee891ade74ee41c2c6f168">refrence</a> <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>访问下标为pos的内容 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00063">63</a> 行定义.</p>

</div>
</div>
<a id="ad39513ac39e33712db67708dc2894080"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad39513ac39e33712db67708dc2894080">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回字符串的长度 </p>

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00060">60</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ae1c7aef08cf080da9bd2b95d21f8a046"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1c7aef08cf080da9bd2b95d21f8a046">&#9670;&nbsp;</a></span>_data</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_const_string_t.html#ab80d756bcc5bc9f3868550646a6b3268">point</a> <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::_data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00078">78</a> 行定义.</p>

</div>
</div>
<a id="a14ad8922956858aed64245e382a42290"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14ad8922956858aed64245e382a42290">&#9670;&nbsp;</a></span>_size</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::_size</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<a id="ac1730bac5bfff4bf1b2bdf2f14e9b939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1730bac5bfff4bf1b2bdf2f14e9b939">&#9670;&nbsp;</a></span>npos</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::npos = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00020">20</a> 行定义.</p>

</div>
</div>
<a id="ab80d756bcc5bc9f3868550646a6b3268"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab80d756bcc5bc9f3868550646a6b3268">&#9670;&nbsp;</a></span>point</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const typedef T* <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::point</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00017">17</a> 行定义.</p>

</div>
</div>
<a id="aeb16af3ea2ee891ade74ee41c2c6f168"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb16af3ea2ee891ade74ee41c2c6f168">&#9670;&nbsp;</a></span>refrence</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const typedef T&amp; <a class="el" href="class_c_const_string_t.html">CConstStringT</a>&lt; T &gt;::refrence</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_____const_string_8h_source.html">__ConstString.h</a> 第 <a class="el" href="_____const_string_8h_source.html#l00019">19</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/stream/internal/<a class="el" href="_____const_string_8h_source.html">__ConstString.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
